<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://lingnan.edu.cn" prefix="t" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/sql" prefix="sql" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
	<c:set var="a" value="aaa"/>
	<c:out value="${a}"/><br>
	<c:catch var="ex">
		<%=9/0 %>
	</c:catch>
	<c:out value="${ex}"/><br>
	<c:if test="${a=='abaaa'}">
		if is true<br>
	</c:if>
	<c:choose>
		<c:when test="${a=='abab'}">
		   when is true<br>
		</c:when>
		<c:otherwise>
			otherwise is true<br>
		</c:otherwise>
	</c:choose>
	<%
		String[] aa=new String[5];
		aa[0]="aaa";aa[1]="bbb";aa[2]="ccc";aa[3]="ddd";aa[4]="eee";
		request.setAttribute("bb", aa);
	%>
	<c:forEach var="cc" items="${bb}">
		<c:out value='${cc}'/>
	</c:forEach>
	<br>
	<c:set var="dd" value="zhangsan1,zhangsan2,zhangsan3,zhangsan4"></c:set>
	<c:forTokens var="ee" items="${dd}" delims=",">
		<c:out value="${ee}"/>
	</c:forTokens>





	<!-- <t:hello/> -->

</body>
</html>